% make y-axes of the histogram plot log scale
% refer to: http://www.mathworks.com/support/solutions/en/data/1-2ZUTKK/?solution=1-2ZUTKK
function matvis_hist_log()

ph = get(gca,'children');
vn = get(ph,'Vertices');
vn(:,2) = vn(:,2) + 1;
set(ph,'Vertices',vn);

set(gca,'yscale','log')

end